package aufgabe4;

public class UniqueMatches {	
	public static void printUniqueMatches(int minLength, String s) {
		EnhancedSuffixArray esa = new EnhancedSuffixArray(s);
		
		try {
			esa.getMaximalUniqueMatches(minLength);
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		UniqueMatches.printUniqueMatches(Integer.valueOf(args[0]), args[1]);
	}
}
